package com.jie.service.Impl;

import com.jie.mapper.StudentMapper;
import com.jie.pojo.Student;
import com.jie.service.ScheduleService;
import com.jie.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StudentServiceImpl implements StudentService {

    @Autowired
    private StudentMapper studentMapper;

    public List<Student> findAllStudent(String classid) throws Exception {
        List<Student> studentList = studentMapper.findAllStudent(classid);
        return studentList;
    }
}
